public class TestWert
{
	public static void main(String[] arg)
	{
		wert a = new wert(1);
		wert b = a;
		wert c = new wert(3);
		
		System.out.println("a:   "+a);
		System.out.println("b:   "+b);
		System.out.println("c:   "+c);
		
		a.setWert(5);
		
		System.out.println("a.setWert(5)");
		System.out.println("a:   "+a);
		System.out.println("b:   "+b);
		System.out.println("c:   "+c);
		
		b.setWert(7);
		System.out.println("b.setWert(7)");
		System.out.println("a:   "+a);
		System.out.println("b:   "+b);
		System.out.println("c:   "+c);
		
		b = c;
		System.out.println("b=c");
		System.out.println("a:   "+a);
		System.out.println("b:   "+b);
		System.out.println("c:   "+c);
		
		
		
		System.out.println("a:   "+a.getWert());
		System.out.println("b:   "+b.getWert());
		System.out.println("c:   "+c.getWert());
		
		a.setWert(5);
		
		System.out.println("a.setWert(5)");
		System.out.println("a:   "+a.getWert());
		System.out.println("b:   "+b.getWert());
		System.out.println("c:   "+c.getWert());
		
		b.setWert(7);
		System.out.println("b.setWert(7)");
		System.out.println("a:   "+a.getWert());
		System.out.println("b:   "+b.getWert());
		System.out.println("c:   "+c.getWert());
		
		b = c;
System.out.println("b.setWert(7)");
		System.out.println("a:   "+a.getWert());
		System.out.println("b:   "+b.getWert());
		System.out.println("c:   "+c.getWert());
		
		
}	}